import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("Flutter ICON"),
          backgroundColor: Colors.yellow,
        ),
        body: MyHomePage(),
      ),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return ListView(
      children: <Widget>[
        ListTile(
          leading: Image.network("https://www.itying.com/images/flutter/1.png"),
          title: const Text("重温抗战校史 厚植家国情怀"),
        ),
        Divider(),
        ListTile(
          leading: Image.network("https://www.itying.com/images/flutter/2.png"),
          title: const Text("重温抗战校史 厚植家国情怀"),
        ),
        Divider(),
        ListTile(
          leading: Image.network("https://www.itying.com/images/flutter/3.png"),
          title: const Text("重温抗战校史 厚植家国情怀"),
        ),
        Divider(),
        ListTile(
          title: const Text("重温抗战校史 厚植家国情怀"),
          trailing: Image.network("https://www.itying.com/images/flutter/4.png"),
        ),
        Divider(),
      ],
    );
  }
}
